package main
import "fmt"
import "github.com/shopspring/decimal"
func main(){
	quantity:=decimal.NewFromInt(3)
	fmt.Println(quantity)
	var num1 float64=3.1
	var num2 float64=4.2
	d1:=decimal.NewFromFloat(num1).Add(decimal.NewFromFloat(num2))
	fmt.Println(d1)
	d2:=decimal.NewFromFloat(num1).Sub(decimal.NewFromFloat(num2))
	fmt.Println(d2)
}